package com.why;

import com.why.mapper.PersonMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.Resource;

@SpringBootApplication
public class Application {

	@Resource
	private PersonMapper personMapper;


	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
//		Application application = new Application();
//		application.test();
	}

	public void test() {
		personMapper.getPersonById2(1);
	}

}
